package com.wctj.api.business.cmb.bean;

import io.swagger.annotations.ApiModelProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "paysystem.cmb")
public class CmbPayBean {

    @ApiModelProperty(value = "企业网银用户号")
    private String uid;

    @ApiModelProperty(value = "客户私钥")
    private String privateKey;

    @ApiModelProperty(value = "银行公钥")
    private String publicKey;

    @ApiModelProperty(value = "银行消息通知对应的公钥")
    private String bankPubkey;

    @ApiModelProperty(value = "协商的对称密钥")
    private String symKey;

    @ApiModelProperty(value = "请求URL")
    private String url;

    @ApiModelProperty(value = "回调地址")
    private String domain;

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getBankPubkey() {
        return bankPubkey;
    }

    public void setBankPubkey(String bankPubkey) {
        this.bankPubkey = bankPubkey;
    }

    public String getSymKey() {
        return symKey;
    }

    public void setSymKey(String symKey) {
        this.symKey = symKey;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }
}
